<?php

class Application_Form_Placowka extends Zend_Form {

    public function init() {
        $this->addElement('text', 'nazwa', array(
            'label' => 'Nazwa',
            'required' => true,
            'filters' => array(
                'StringTrim',
                'StripNewlines',
                'StripTags',
            ),
            'validators' => array(                
                'NotEmpty',
            )
        ));
        
        
        $this->addElement('hidden','id');

        $this->addElement('submit', 'zapisz');
    }

}